
DEFINES  -= UNICODE
CONFIG   -= console
#CONFIG   -= app_bundle

#DEFINES += EXTIK_DOUBLE # for double-precision
DEFINES += NON_MATLAB_PARSING
DEFINES += MAX_EXT_API_CONNECTIONS=255



INCLUDEPATH += $$PWD/include
INCLUDEPATH += $$PWD/remoteApi
INCLUDEPATH += $$PWD/externalIk

*-msvc* {
	QMAKE_CXXFLAGS += -O2
	QMAKE_CXXFLAGS += -W3
}
*-g++* {
	QMAKE_CXXFLAGS += -O3
	QMAKE_CXXFLAGS += -Wall
	QMAKE_CXXFLAGS += -Wno-unused-parameter
	QMAKE_CXXFLAGS += -Wno-strict-aliasing
	QMAKE_CXXFLAGS += -Wno-empty-body
	QMAKE_CXXFLAGS += -Wno-write-strings

	QMAKE_CXXFLAGS += -Wno-unused-but-set-variable
	QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
	QMAKE_CXXFLAGS += -Wno-narrowing

	QMAKE_CFLAGS += -O3
	QMAKE_CFLAGS += -Wall
	QMAKE_CFLAGS += -Wno-strict-aliasing
	QMAKE_CFLAGS += -Wno-unused-parameter
	QMAKE_CFLAGS += -Wno-unused-but-set-variable
	QMAKE_CFLAGS += -Wno-unused-local-typedefs
}

win32 {
	LIBS += -lwinmm
	LIBS += -lWs2_32
	DEFINES += WIN_VREP
	INCLUDEPATH += "c:/boost_1_54_0"
}

macx {
    DEFINES += MAC_VREP
    INCLUDEPATH += "/usr/local/include"
}

unix:!macx {
    DEFINES += LIN_VREP
  #  INCLUDEPATH += "$$PWD/boost_1_49_0" #probably not needed when installing boost with sudo apt-get install libboost-all-dev
}


unix:!symbian {
    maemo5 {
        target.path = /opt/usr/lib
    } else {
        target.path = /usr/lib
    }
    INSTALLS += target
}

HEADERS += \
    $$PWD/include/v_repLib.h \
    $$PWD/remoteApi/extApiPlatform.h \
    $$PWD/remoteApi/extApiInternal.h \
    $$PWD/remoteApi/extApi.h \
    $$PWD/externalIk/VPoint.h \
    $$PWD/externalIk/Vector.h \
    $$PWD/externalIk/Tt.h \
    $$PWD/externalIk/Registerediks.h \
    $$PWD/externalIk/ObjCont.h \
    $$PWD/externalIk/MyMath.h \
    $$PWD/externalIk/MMatrix.h \
    $$PWD/externalIk/mathDefines.h \
    $$PWD/externalIk/MainCont.h \
    $$PWD/externalIk/jointObject.h \
    $$PWD/externalIk/ikRoutine.h \
    $$PWD/externalIk/ikGroup.h \
    $$PWD/externalIk/ikEl.h \
    $$PWD/externalIk/Global.h \
    $$PWD/externalIk/extIkSer.h \
    $$PWD/externalIk/extIk.h \
    $$PWD/externalIk/Dummy.h \
    $$PWD/externalIk/Ct.h \
    $$PWD/externalIk/7Vector.h \
    $$PWD/externalIk/6X6Matrix.h \
    $$PWD/externalIk/6Vector.h \
    $$PWD/externalIk/4X4Matrix.h \
    $$PWD/externalIk/4X4FullMatrix.h \
    $$PWD/externalIk/4Vector.h \
    $$PWD/externalIk/3X3Matrix.h \
    $$PWD/externalIk/3Vector.h \
    $$PWD/externalIk/3DObject.h

SOURCES += \
    $$PWD/common/v_repLib.cpp \
    $$PWD/remoteApi/extApiPlatform.c \
    $$PWD/remoteApi/extApi.c \
    $$PWD/externalIk/Vector.cpp \
    $$PWD/externalIk/Tt.cpp \
    $$PWD/externalIk/Registerediks.cpp \
    $$PWD/externalIk/ObjCont.cpp \
    $$PWD/externalIk/MyMath.cpp \
    $$PWD/externalIk/MMatrix.cpp \
    $$PWD/externalIk/MainCont.cpp \
    $$PWD/externalIk/jointObject.cpp \
    $$PWD/externalIk/ikRoutine.cpp \
    $$PWD/externalIk/ikGroup.cpp \
    $$PWD/externalIk/ikEl.cpp \
    $$PWD/externalIk/extIkSer.cpp \
    $$PWD/externalIk/extIk.cpp \
    $$PWD/externalIk/Dummy.cpp \
    $$PWD/externalIk/Ct.cpp \
    $$PWD/externalIk/7Vector.cpp \
    $$PWD/externalIk/6X6Matrix.cpp \
    $$PWD/externalIk/6Vector.cpp \
    $$PWD/externalIk/4X4Matrix.cpp \
    $$PWD/externalIk/4X4FullMatrix.cpp \
    $$PWD/externalIk/4Vector.cpp \
    $$PWD/externalIk/3X3Matrix.cpp \
    $$PWD/externalIk/3Vector.cpp \
    $$PWD/externalIk/3DObject.cpp \


